OPC Studio User's Guide and Reference
Exception Property (UABaseVariable<TValue,TAttribute>)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.InformationModel Namespace > UABaseVariable<TValue,TAttribute> Class : Exception Property
Contains the exception. A null reference if the operation has been successful.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<MappingTagAttribute("OpcLabs.EasyOpc.UA.InformationModel.VariableValue")>
<UADataAttribute(UADataMappingKind.Exception)>
Public Property Exception As Exception
'Usage
 
Dim instance As UABaseVariable(Of TValue,TAttribute)
Dim value As Exception
 
instance.Exception = value
 
value = instance.Exception
[CanBeNull()]
[MappingTag("OpcLabs.EasyOpc.UA.InformationModel.VariableValue")]
[UAData(UADataMappingKind.Exception)]
public Exception Exception {get; set;}
[CanBeNull()]
[MappingTag("OpcLabs.EasyOpc.UA.InformationModel.VariableValue")]
[UAData(UADataMappingKind.Exception)]
public:
property Exception^ Exception {
   Exception^ get();
   void set (    Exception^ value);
}

Property Value

This value of this property can be null (Nothing in Visual Basic).

The default value of this property is null.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also